package com.lovo.service;

import com.github.pagehelper.PageInfo;
import com.lovo.model.CommodityOrder;
import com.lovo.VO.CommodityOrderVo;
import com.lovo.VO.ServiceOrderVo;

import java.util.List;

public interface CommodityOrderService{


    int deleteByPrimaryKey(Integer commodityOrderId);

    int insert(CommodityOrder record);

    int insertSelective(CommodityOrder record);

    ServiceOrderVo selectByPrimaryKey(Integer commodityOrderId);

    int updateByPrimaryKey(CommodityOrderVo record);

    PageInfo<CommodityOrderVo> selectAll(CommodityOrderVo com, int pageNo, int pageSize);

}
